<?php
/*
 * Created on 21 janv. 2009
 * Created by Ludovic Reenaers
 * lreenaers@hotmail.com 
 */
 class ViewHomepage extends View{
	function show($page){
	
		$usr=$_SESSION["USER_BEAN"];
		$page.=$usr->getNom()."\n";
		$profile=$usr->getProfile();
		$tokens=$profile->getTokensStringArray();
		
		$page.='<ul>';	
		foreach($tokens as $key =>$value){
			$page.='<li>'.$key.'::::'.$value.'</li>';
		
		}
		$page.='</ul>';
		
		$this->setContent($page);
	}
 }
?>
